package com.zp.business.entity.infusion;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zp.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 输液方式配置对象 infusion_type
 *
 * @author zhang peng
 * @ date 2025-02-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("infusion_type")
public class InfusionType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "infusion_type_id")
    private String infusionTypeId;


    /**
     * 输液方式
     */
    private String infusionType;


    /**
     * 途径
     */
    private String channel;


    /**
     * 机构ID
     */
    private String orgId;


    /**
     * 标志
     */
//    @TableLogic
    private String delFlag;
    /**
     * 备注信息
     */
    private String remarks;
    /**
     * 输液方式名称
     */
    private String infusionTypeName;
    /**
     * 途径名称
     */
    private String channelName;
    /**
     * 机构名称
     */
    private String orgName;
    /**
     * 熔断后异常信息
     */
    @TableField(exist = false)
    private String exceptionCode;

    public void initEntity() {
        this.delFlag = "0";
    }

}
